
import * as ActionTypes from '../../../constants/constants.js'
import * as util from '../../../util/utils.js'

// 商家id
// export const user = (state = null) => {
//     return state;
// }
// [RNSplashScreen show];

export const guestGoodsList = (state = {
    results: [],
    pageInfo: {
        pageCount: 0,
        pageIndex: 0,
        pageSize: 0,
        rowIndex: 0,
        total: 0
    }
}, action) => {
    switch (action.type) {
        case ActionTypes.guestGoodsList:
            return state = action.data
        default:
            return state;
    }
}
